package com.atguigu.day11.m1;

public class Test09{
	public static void main(String[] args) {
		Father f = new Father();
		Son s = new Son();

		System.out.println(f.getInfo());//at
		System.out.println(s.getInfo());//at
		s.test();//at
		System.out.println("-----------------");
		s.setInfo("大硅谷");
		System.out.println(f.getInfo());// at
		System.out.println(s.getInfo());//大
		s.test();//大
	}
}